package com.waimai1.waimai.entity;

import java.util.Date;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;

import java.io.Serializable;

/**
 * (LocalCoupon)表实体类
 *
 * @author makejava
 * @since 2023-11-29 20:46:46
 */
@SuppressWarnings("serial")
@Data
public class LocalCoupon extends Model<LocalCoupon> {
    
    private Integer id;
    private Integer acid;

    private String couponNo;
    
    private String name;
    
    private Double youCount;
    //门槛
    private Double needCount;
    //数量
    private Integer number;
    
    private Integer sendNumber;
    //打折或者满减
    private String sort;
    
    private Date startTime;
    
    private Date endTime;
    
    private Integer shopId;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getCouponNo() {
        return couponNo;
    }

    public void setCouponNo(String couponNo) {
        this.couponNo = couponNo;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Double getYouCount() {
        return youCount;
    }

    public void setYouCount(Double youCount) {
        this.youCount = youCount;
    }

    public Double getNeedCount() {
        return needCount;
    }

    public void setNeedCount(Double needCount) {
        this.needCount = needCount;
    }

    public Integer getNumber() {
        return number;
    }

    public void setNumber(Integer number) {
        this.number = number;
    }

    public Integer getSendNumber() {
        return sendNumber;
    }

    public void setSendNumber(Integer sendNumber) {
        this.sendNumber = sendNumber;
    }

    public String getSort() {
        return sort;
    }

    public void setSort(String sort) {
        this.sort = sort;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public Integer getShopId() {
        return shopId;
    }

    public void setShopId(Integer shopId) {
        this.shopId = shopId;
    }

    /**
     * 获取主键值
     *
     * @return 主键值
     */
    @Override
    protected Serializable pkVal() {
        return this.id;
    }
    }

